<script>
	export default {
		onLaunch: function() {
			
		},
		onShow: function() {
			console.log('App Show')
		},
		onHide: function() {
			console.log('App Hide')
		},
		onUnload(){
			uni.removeStorageSync("musicItem")
			uni.removeStorageSync("currentPlayItem")
			uni.removeStorageSync("musicOnPlay")
			uni.removeStorageSync("currentPlaySongPage")
			uni.removeStorageSync("currentPage")
		},
		globalData:{
			// id:uni.getStorageSync("musicItem").id,
			// artist:uni.getStorageSync("musicItem").artist,
			// isplay:uni.getStorageSync("musicItem").isplay,
			// name:uni.getStorageSync("musicItem").name,
			// pic:uni.getStorageSync("musicItem").pic,
			// src:uni.getStorageSync("musicItem").src,
		}
	}
</script>

<style lang="scss">
		/* 注意要写在第一行，同时给style标签加入lang="scss"属性 */
			@import "uview-ui/index.scss";

	/*每个页面公共css */
</style>
